-Added styles list for dark and light themes -Updated libs -Auto refactored resources for easy editing -Improved amoled theme
54 lines
2.3 KiB
XML
54 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.constraint.ConstraintLayout android:background="?background_content"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="180.0dip"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<TextView
|
|
android:textSize="13.0sp"
|
|
android:textColor="@color/caption_gray"
|
|
android:gravity="center"
|
|
android:id="@id/photos_like_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8.0dip"
|
|
android:layout_marginBottom="8.0dip"
|
|
android:text="@string/photos_like_block_title"
|
|
android:textAllCaps="true"
|
|
android:fontFamily="@string/font_family_medium"
|
|
android:layout_marginStart="16.0dip"
|
|
android:layout_marginEnd="8.0dip"
|
|
app:layout_constraintBottom_toBottomOf="@id/photo_likes_show_all"
|
|
app:layout_constraintEnd_toStartOf="@id/photo_likes_show_all"
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="@id/photo_likes_show_all" />
|
|
|
|
<TextView
|
|
android:textSize="14.0sp"
|
|
android:textColor="?accent"
|
|
android:gravity="center"
|
|
android:id="@id/photo_likes_show_all"
|
|
android:background="@drawable/highlight_radius_4"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="36.0dip"
|
|
android:layout_marginTop="8.0dip"
|
|
android:layout_marginBottom="8.0dip"
|
|
android:text="@string/photos_like_show_all"
|
|
android:fontFamily="@string/font_family_medium"
|
|
android:paddingStart="12.0dip"
|
|
android:paddingEnd="12.0dip"
|
|
android:layout_marginEnd="4.0dip"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
android:id="@id/photos_like_recycler_view"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="0.0dip"
|
|
android:layout_marginTop="4.0dip"
|
|
android:layout_marginBottom="16.0dip"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/photo_likes_show_all" />
|
|
</android.support.constraint.ConstraintLayout> |