Project

General

Profile

« Previous | Next » 

Revision 354b7db8

Added by Leszek Koltunski about 1 year ago

Resources.

View differences:

src/main/res/layout/dialog_about.xml
1 1
<?xml version="1.0" encoding="utf-8"?>
2
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
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="match_parent"
5
    android:background="@color/grey"
6
    android:orientation="vertical">
5 7

  
6 8
    <LinearLayout
7 9
        android:layout_width="fill_parent"
......
9 11
        android:gravity="center|fill_horizontal"
10 12
        android:layout_marginLeft="10dp"
11 13
        android:layout_marginRight="10dp"
12
        android:layout_marginTop="0dp"
13
        android:background="@color/grey"
14
        android:orientation="vertical">
14
        android:layout_marginTop="5dp"
15
        android:background="@color/dark_grey"
16
        android:orientation="horizontal">
17

  
18
        <ImageView
19
            android:layout_gravity="center"
20
            android:layout_height="wrap_content"
21
            android:layout_width="wrap_content"
22
            android:src="@drawable/share"/>
15 23

  
16 24
        <TextView
17
            android:id="@+id/about_version"
18
            android:layout_width="match_parent"
19
            android:layout_height="fill_parent"
20
            android:layout_weight="0.40"
25
            android:id="@+id/about_share_string"
26
            android:layout_width="wrap_content"
27
            android:layout_height="wrap_content"
28
            android:gravity="start"
29
            android:textSize="24sp"
30
            android:text="@string/share"
21 31
            android:layout_marginTop="10dp"
22 32
            android:layout_marginLeft="10dp"
23 33
            android:layout_marginRight="10dp"
24 34
            android:layout_marginBottom="10dp"/>
35
   </LinearLayout>
25 36

  
26
        <TextView
27
            android:id="@+id/about_section2"
28
            android:layout_width="match_parent"
29
            android:layout_height="fill_parent"
30
            android:layout_weight="0.40"
31
            android:layout_marginTop="10dp"
32
            android:layout_marginLeft="10dp"
33
            android:layout_marginRight="10dp"
34
            android:layout_marginBottom="10dp"
35
            android:text="@string/credits2"/>
37
   <LinearLayout
38
        android:layout_width="fill_parent"
39
        android:layout_height="wrap_content"
40
        android:gravity="center|fill_horizontal"
41
        android:layout_marginLeft="10dp"
42
        android:layout_marginRight="10dp"
43
        android:layout_marginTop="5dp"
44
        android:background="@color/dark_grey"
45
        android:orientation="horizontal">
36 46

  
37
        <TextView
38
            android:id="@+id/about_section3"
39
            android:layout_width="match_parent"
40
            android:layout_height="fill_parent"
41
            android:layout_weight="0.60"
42
            android:layout_marginBottom="10dp"
43
            android:layout_marginTop="10dp"
44
            android:layout_marginLeft="10dp"
45
            android:layout_marginRight="10dp"
46
            android:text="@string/credits3"/>
47
        <ImageView
48
            android:layout_gravity="center"
49
            android:layout_height="wrap_content"
50
            android:layout_width="wrap_content"
51
            android:src="@drawable/email"/>
47 52

  
48
        <TextView
49
            android:id="@+id/about_section4"
53
        <LinearLayout
50 54
            android:layout_width="match_parent"
51
            android:layout_height="fill_parent"
52
            android:layout_weight="0.20"
53
            android:layout_marginBottom="10dp"
54
            android:layout_marginTop="10dp"
55
            android:layout_height="match_parent"
56
            android:gravity="center|fill_horizontal"
55 57
            android:layout_marginLeft="10dp"
56 58
            android:layout_marginRight="10dp"
57
            android:text="@string/credits4"/>
58

  
59
    </LinearLayout>
59
            android:background="@color/dark_grey"
60
            android:orientation="vertical">
60 61

  
61
</ScrollView>
62
            <TextView
63
               android:id="@+id/about_mail_string"
64
               android:layout_width="wrap_content"
65
               android:layout_height="wrap_content"
66
               android:gravity="start"
67
               android:textSize="18sp"
68
               android:text="@string/contact"
69
               android:layout_marginTop="5dp"
70
               android:layout_marginLeft="10dp"
71
               android:layout_marginRight="10dp"
72
               android:layout_marginBottom="5dp"/>
73
            <TextView
74
               android:id="@+id/about_mail_address_string"
75
               android:layout_width="wrap_content"
76
               android:layout_height="wrap_content"
77
               android:gravity="start"
78
               android:textSize="18sp"
79
               android:text="@string/email"
80
               android:layout_marginTop="5dp"
81
               android:layout_marginLeft="10dp"
82
               android:layout_marginRight="10dp"
83
               android:layout_marginBottom="5dp"/>
84
        </LinearLayout>
85
   </LinearLayout>
86
</LinearLayout>

Also available in: Unified diff