-Added styles list for dark and light themes -Updated libs -Auto refactored resources for easy editing -Improved amoled theme
55 lines
2.2 KiB
XML
55 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.v7.widget.CardView android:id="@id/card_view"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5.0dip"
|
|
android:layout_marginBottom="0.0dip"
|
|
card_view:cardBackgroundColor="?background_content"
|
|
card_view:cardCornerRadius="0.0dip"
|
|
card_view:cardElevation="1.0dip"
|
|
card_view:cardUseCompatPadding="true"
|
|
card_view:contentPadding="0.0dip"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto">
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:background="@drawable/vkim_ripple_dark"
|
|
android:paddingLeft="16.0dip"
|
|
android:paddingRight="16.0dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="56.0dip">
|
|
|
|
<android.support.v7.widget.AppCompatImageView
|
|
android:layout_gravity="center"
|
|
android:layout_width="24.0dip"
|
|
android:layout_height="24.0dip"
|
|
android:src="@drawable/ic_notification_24"
|
|
android:tint="@color/light_gray"
|
|
android:contentDescription="@null" />
|
|
|
|
<TextView
|
|
android:textAppearance="@style/VkIm.Settings.Title"
|
|
android:ellipsize="end"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_width="0.0dip"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="16.0dip"
|
|
android:text="@string/vkim_chat_settings_notifications"
|
|
android:maxLines="1"
|
|
android:singleLine="true"
|
|
android:layout_weight="1.0" />
|
|
|
|
<android.support.v7.widget.SwitchCompat
|
|
android:layout_gravity="center_vertical"
|
|
android:id="@id/btn"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</android.support.v7.widget.CardView> |