Style: use attrs from appcompat rather than from frameworks
This isn't possible for colorForeground, colorBackground, textAppearanceMedium, but at least it's useful for some things here. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
8ec2cc8582
commit
ffa3cefa67
@ -4,12 +4,12 @@
|
|||||||
<item>
|
<item>
|
||||||
<selector>
|
<selector>
|
||||||
<item app:state_multiselected="true" android:state_activated="true">
|
<item app:state_multiselected="true" android:state_activated="true">
|
||||||
<color android:color="?android:attr/colorControlActivated" />
|
<color android:color="?attr/colorControlActivated" />
|
||||||
</item>
|
</item>
|
||||||
<item app:state_multiselected="false" android:state_activated="true">
|
<item app:state_multiselected="false" android:state_activated="true">
|
||||||
<color android:color="?android:attr/colorControlHighlight" />
|
<color android:color="?attr/colorControlHighlight" />
|
||||||
</item>
|
</item>
|
||||||
</selector>
|
</selector>
|
||||||
</item>
|
</item>
|
||||||
<item android:drawable="?android:attr/selectableItemBackground" />
|
<item android:drawable="?attr/selectableItemBackground" />
|
||||||
</layer-list>
|
</layer-list>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:baselineAligned="false"
|
android:baselineAligned="false"
|
||||||
android:divider="?android:attr/dividerHorizontal"
|
android:divider="?attr/dividerHorizontal"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:showDividers="middle"
|
android:showDividers="middle"
|
||||||
tools:context=".activity.MainActivity">
|
tools:context=".activity.MainActivity">
|
||||||
|
@ -120,7 +120,7 @@
|
|||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/public_key_text"
|
android:id="@+id/public_key_text"
|
||||||
style="?android:attr/editTextStyle"
|
style="?attr/editTextStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@+id/public_key_label"
|
android:layout_below="@+id/public_key_label"
|
||||||
|
Loading…
Reference in New Issue
Block a user