Project

General

Profile

« Previous | Next » 

Revision bf1edbac

Added by Leszek Koltunski about 1 year ago

Dialog About.

View differences:

src/main/res/layout/dialog_about.xml
1 1
<?xml version="1.0" encoding="utf-8"?>
2 2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 3
    android:layout_width="match_parent"
4
    android:layout_height="match_parent"
4
    android:layout_height="wrap_content"
5 5
    android:background="@color/grey"
6 6
    android:orientation="vertical">
7 7

  
......
13 13
        android:gravity="center|fill_horizontal"
14 14
        android:layout_marginLeft="10dp"
15 15
        android:layout_marginRight="10dp"
16
        android:layout_marginTop="5dp"
17 16
        android:background="@color/dark_grey"
18 17
        android:orientation="horizontal">
19 18

  
......
22 21
            android:layout_height="wrap_content"
23 22
            android:layout_marginStart="5dp"
24 23
            android:layout_width="0dp"
25
            android:layout_weight="0.25"
24
            android:layout_weight="0.2"
26 25
            android:src="@drawable/ui_share"/>
27 26

  
28 27
        <LinearLayout
......
64 63
            android:layout_height="wrap_content"
65 64
            android:layout_marginStart="5dp"
66 65
            android:layout_width="0dp"
67
            android:layout_weight="0.25"
66
            android:layout_weight="0.2"
68 67
            android:src="@drawable/ui_contact"/>
69 68

  
70 69
        <LinearLayout
......
84 83
               android:text="@string/contact"
85 84
               android:layout_marginTop="5dp"
86 85
               android:layout_marginLeft="10dp"
87
               android:layout_marginRight="10dp"
88
               android:layout_marginBottom="5dp"/>
86
               android:layout_marginRight="10dp"/>
89 87
            <TextView
90 88
               android:id="@+id/about_mail_address"
91 89
               android:layout_width="wrap_content"
......
117 115
            android:layout_height="wrap_content"
118 116
            android:layout_marginStart="5dp"
119 117
            android:layout_width="0dp"
120
            android:layout_weight="0.25"
118
            android:layout_weight="0.2"
121 119
            android:src="@drawable/ui_new"/>
122 120

  
123 121
        <ScrollView
......
139 137
                 <TextView
140 138
                     android:id="@+id/about_new_message"
141 139
                     android:layout_width="match_parent"
142
                     android:layout_height="match_parent"
140
                     android:layout_height="wrap_content"
143 141
                     android:gravity="start"/>
144 142
            </LinearLayout>
145 143
        </ScrollView>
......
162 160
            android:layout_height="wrap_content"
163 161
            android:layout_marginStart="5dp"
164 162
            android:layout_width="0dp"
165
            android:layout_weight="0.25"
163
            android:layout_weight="0.2"
166 164
            android:src="@drawable/ui_coming"/>
167 165

  
168 166
        <ScrollView
......
184 182
                 <TextView
185 183
                     android:id="@+id/about_coming_message"
186 184
                     android:layout_width="match_parent"
187
                     android:layout_height="match_parent"
185
                     android:layout_height="wrap_content"
188 186
                     android:gravity="start"/>
189 187
            </LinearLayout>
190 188
        </ScrollView>

Also available in: Unified diff