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

fragment_ugc_editor.xml « layout « res « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1448d0822f62b39ed7326b1db996fc690d3c4d37 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:orientation="vertical">
  <androidx.appcompat.widget.Toolbar
    android:id="@+id/toolbar"
    style="@style/MwmWidget.ToolbarStyle"
    android:layout_width="match_parent"
    android:layout_height="?attr/actionBarSize"
    android:theme="@style/MwmWidget.ToolbarTheme">
    <ImageView
      android:id="@+id/submit"
      android:layout_width="?actionBarSize"
      android:layout_height="?actionBarSize"
      android:layout_alignParentEnd="true"
      android:layout_alignParentRight="true"
      android:layout_gravity="end|center_vertical"
      android:background="?selectableItemBackgroundBorderless"
      android:scaleType="centerInside"
      android:src="@drawable/ic_done"/>
  </androidx.appcompat.widget.Toolbar>
  <ScrollView
    android:layout_width="match_parent"
    android:layout_height="wrap_content">
    <LinearLayout
      android:orientation="vertical"
      android:paddingTop="@dimen/margin_half"
      android:background="?cardBackground"
      android:layout_width="match_parent"
      android:layout_height="wrap_content">
      <androidx.recyclerview.widget.RecyclerView
        android:id="@+id/ratings"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        tools:listitem="@layout/item_ugc_rating"/>
      <View
        android:layout_width="match_parent"
        android:layout_height="@dimen/divider_height"
        android:background="?dividerHorizontal"/>
      <com.google.android.material.textfield.TextInputLayout
        android:id="@+id/input_layout"
        android:layout_marginTop="@dimen/margin_base"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
        <EditText
          android:id="@+id/review"
          android:layout_width="match_parent"
          android:layout_height="@dimen/rating_user_review_min_height"
          android:textAppearance="@style/MwmTextAppearance.Body1"
          android:gravity="top"
          android:maxLength="600"
          android:paddingLeft="@dimen/margin_base"
          android:paddingStart="@dimen/margin_base"
          android:paddingRight="@dimen/margin_base"
          android:paddingEnd="@dimen/margin_base"
          android:paddingBottom="@dimen/margin_base"
          android:textColorHint="?android:textColorSecondary"
          android:inputType="textMultiLine|textCapSentences"
          android:hint="@string/placepage_reviews_hint"/>
      </com.google.android.material.textfield.TextInputLayout>
    </LinearLayout>
  </ScrollView>
</LinearLayout>