Welcome to mirror list, hosted at ThFree Co, Russian Federation.

item_category_description.xml « layout « res « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fdf358e9092c8524327537f7c07d6cf21a154118 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  android:padding="@dimen/margin_base"
  android:layout_width="match_parent"
  android:layout_height="wrap_content">
  <TextView
    android:id="@+id/title"
    app:layout_constraintTop_toTopOf="parent"
    android:textAppearance="@style/MwmTextAppearance.Body2.Primary"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>
  <TextView
    android:id="@+id/author"
    app:layout_constraintTop_toBottomOf="@id/title"
    android:textAppearance="@style/MwmTextAppearance.Body3"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>
  <LinearLayout
    android:orientation="vertical"
    app:layout_constraintTop_toBottomOf="@id/author"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">
    <TextView
      android:id="@+id/text"
      android:textAppearance="@style/MwmTextAppearance.Body3"
      android:maxLines="2"
      android:ellipsize="end"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"/>
    <TextView
      android:id="@+id/more_btn"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="start|bottom"
      android:gravity="start|top"
      android:textColor="?attr/colorAccent"
      android:text="@string/category_desc_more"
      android:background="@android:color/transparent"/>
  </LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>