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:
Jason A. Donenfeld 2018-07-30 22:38:58 +02:00
parent 8ec2cc8582
commit ffa3cefa67
3 changed files with 5 additions and 5 deletions

View File

@ -4,12 +4,12 @@
<item>
<selector>
<item app:state_multiselected="true" android:state_activated="true">
<color android:color="?android:attr/colorControlActivated" />
<color android:color="?attr/colorControlActivated" />
</item>
<item app:state_multiselected="false" android:state_activated="true">
<color android:color="?android:attr/colorControlHighlight" />
<color android:color="?attr/colorControlHighlight" />
</item>
</selector>
</item>
<item android:drawable="?android:attr/selectableItemBackground" />
<item android:drawable="?attr/selectableItemBackground" />
</layer-list>

View File

@ -5,7 +5,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:baselineAligned="false"
android:divider="?android:attr/dividerHorizontal"
android:divider="?attr/dividerHorizontal"
android:orientation="horizontal"
android:showDividers="middle"
tools:context=".activity.MainActivity">

View File

@ -120,7 +120,7 @@
<TextView
android:id="@+id/public_key_text"
style="?android:attr/editTextStyle"
style="?attr/editTextStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/public_key_label"