taler-android

Android apps for GNU Taler (wallet, PoS, cashier)
Log | Files | Refs | README | LICENSE

styles.xml (1882B)


      1 <!--
      2   ~ This file is part of GNU Taler
      3   ~ (C) 2020 Taler Systems S.A.
      4   ~
      5   ~ GNU Taler is free software; you can redistribute it and/or modify it under the
      6   ~ terms of the GNU General Public License as published by the Free Software
      7   ~ Foundation; either version 3, or (at your option) any later version.
      8   ~
      9   ~ GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY
     10   ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
     11   ~ A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
     12   ~
     13   ~ You should have received a copy of the GNU General Public License along with
     14   ~ GNU Taler; see the file COPYING.  If not, see <http://www.gnu.org/licenses/>
     15   -->
     16 
     17 <resources>
     18 
     19     <style name="AppTheme" parent="Theme.Material3.DayNight.NoActionBar">
     20         <item name="windowActionModeOverlay">true</item>
     21         <!-- Use the primary color from colors.xml for the splash/initial window -->
     22         <item name="colorPrimary">@color/colorPrimary</item>
     23     </style>
     24 
     25     <style name="AppTheme.NoActionBar">
     26         <item name="windowActionBar">false</item>
     27         <item name="windowNoTitle">true</item>
     28     </style>
     29 
     30     <!-- Legacy styles for non-Compose components if needed -->
     31     <style name="TransactionTitle">
     32         <item name="android:textAppearance">@style/TextAppearance.Material3.TitleMedium</item>
     33     </style>
     34 
     35     <style name="BottomCard">
     36         <item name="cardCornerRadius">0dp</item>
     37         <item name="cardElevation">8dp</item>
     38     </style>
     39 
     40     <style name="FabStyle" parent="Widget.Material3.FloatingActionButton.Primary">
     41         <item name="android:layout_gravity">bottom|end</item>
     42         <item name="android:layout_marginEnd">16dp</item>
     43         <item name="android:layout_marginBottom">16dp</item>
     44         <item name="layout_dodgeInsetEdges">bottom</item>
     45     </style>
     46 
     47 </resources>