Make button row background themeable
This commit is contained in:
parent
7df68919a9
commit
fe9c802bbb
|
@ -51,7 +51,7 @@
|
|||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:background="@color/holo_gray_bright"
|
||||
android:background="?attr/colorButtonRow"
|
||||
android:id="@+id/create_key_buttons">
|
||||
|
||||
<TextView
|
||||
|
@ -88,4 +88,4 @@
|
|||
android:clickable="true"
|
||||
style="?android:attr/borderlessButtonStyle" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -144,7 +144,7 @@
|
|||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:background="@color/holo_gray_bright"
|
||||
android:background="?attr/colorButtonRow"
|
||||
android:id="@+id/create_key_buttons">
|
||||
|
||||
<TextView
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:background="@color/holo_gray_bright"
|
||||
android:background="?attr/colorButtonRow"
|
||||
android:id="@+id/create_key_buttons">
|
||||
|
||||
<TextView
|
||||
|
@ -82,4 +82,4 @@
|
|||
android:clickable="true"
|
||||
style="?android:attr/borderlessButtonStyle" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:background="@color/holo_gray_bright"
|
||||
android:background="?attr/colorButtonRow"
|
||||
android:id="@+id/create_key_buttons">
|
||||
|
||||
<TextView
|
||||
|
@ -101,4 +101,4 @@
|
|||
android:clickable="true"
|
||||
style="?android:attr/borderlessButtonStyle" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:background="@color/holo_gray_bright"
|
||||
android:background="?attr/colorButtonRow"
|
||||
android:id="@+id/create_key_buttons">
|
||||
|
||||
<TextView
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:background="@color/holo_gray_bright"
|
||||
android:background="?attr/colorButtonRow"
|
||||
android:id="@+id/create_key_buttons">
|
||||
|
||||
<TextView
|
||||
|
@ -73,4 +73,4 @@
|
|||
style="?android:attr/borderlessButtonStyle"
|
||||
android:layout_gravity="center_vertical" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:background="@color/holo_gray_bright"
|
||||
android:background="?attr/colorButtonRow"
|
||||
android:id="@+id/create_key_buttons">
|
||||
|
||||
<TextView
|
||||
|
@ -123,4 +123,4 @@
|
|||
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:background="@color/holo_gray_bright"
|
||||
android:background="?attr/colorButtonRow"
|
||||
android:id="@+id/create_key_buttons">
|
||||
|
||||
<TextView
|
||||
|
@ -106,4 +106,4 @@
|
|||
android:clickable="true"
|
||||
style="?android:attr/borderlessButtonStyle" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:background="@color/holo_gray_bright"
|
||||
android:background="?attr/colorButtonRow"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
|
@ -107,4 +107,4 @@
|
|||
android:textAllCaps="true"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:background="@color/holo_gray_bright"
|
||||
android:background="?attr/colorButtonRow"
|
||||
android:id="@+id/create_key_buttons">
|
||||
|
||||
<TextView
|
||||
|
@ -79,4 +79,4 @@
|
|||
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
<!--<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:background="@color/holo_gray_bright"
|
||||
android:background="?attr/colorButtonRow"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/holo_gray_bright"
|
||||
android:background="?attr/colorButtonRow"
|
||||
android:padding="8dp"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:text="@string/certs_text"
|
||||
|
@ -45,4 +45,4 @@
|
|||
|
||||
</FrameLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/holo_gray_bright"
|
||||
android:background="?attr/colorButtonRow"
|
||||
android:padding="8dp"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:text="@string/key_trust_header_text"
|
||||
|
@ -123,4 +123,4 @@
|
|||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
@ -6,5 +6,6 @@
|
|||
<attr name="colorEmphasis" format="color" />
|
||||
<attr name="colorHeaderText" format="color" />
|
||||
<attr name="colorTertiaryText" format="color" />
|
||||
<attr name="colorButtonRow" format="color" />
|
||||
</declare-styleable>
|
||||
</resources>
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
|
||||
<color name="bg_gray">#cecbce</color>
|
||||
|
||||
<color name="holo_gray_bright">#33CCCCCC</color>
|
||||
|
||||
<!-- tabs -->
|
||||
<color name="tab_text">#70FFFFFF</color>
|
||||
<color name="tab_text_selected">#FFFFFF</color>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<item name="colorEmphasis">#2196f3</item>
|
||||
<item name="colorHeaderText">#212121</item>
|
||||
<item name="colorTertiaryText">#808080</item>
|
||||
|
||||
<item name="colorButtonRow">#33cccccc</item>
|
||||
|
||||
<!-- remove actionbar and title, we use toolbar! -->
|
||||
<item name="windowNoTitle">true</item>
|
||||
|
@ -33,6 +33,7 @@
|
|||
<item name="colorEmphasis">#2196f3</item>
|
||||
<item name="colorHeaderText">#a0a0a0</item>
|
||||
<item name="colorTertiaryText">#808080</item>
|
||||
<item name="colorButtonRow">#33cccccc</item>
|
||||
|
||||
<!-- remove actionbar and title, we use toolbar! -->
|
||||
<item name="windowNoTitle">true</item>
|
||||
|
|
Loading…
Reference in a new issue