Project

General

Profile

« Previous | Next » 

Revision bf1edbac

Added by Leszek Koltunski over 1 year ago

Dialog About.

View differences:

src/main/java/org/distorted/dialogs/RubikDialogAbout.java
44 44
      "1. More solvers (2x2, Skewb, Dino).\n" +
45 45
      "2. Support for adjustable stickers.\n" +
46 46
      "3. In-game currency (stars)\n" +
47
      "4. More objects (Penrose Cubes, higher-order Jings, Ghost Cubes, more Mirrors, more Mixups)";
47
      "4. More objects (Penrose Cubes, higher-order Jings, Ghost Cubes, more Mirrors, more Mixups)\n" +
48
      "5. Creator of bandaged Pyraminxes.";
48 49

  
49 50
///////////////////////////////////////////////////////////////////////////////////////////////////
50 51

  
......
59 60
      {
60 61
      WindowManager.LayoutParams params = window.getAttributes();
61 62
      params.width  = (int)Math.min( mHeight*0.60f,mWidth*0.90f );
63
 //     params.height = (int)(mHeight*0.85f);
62 64
      window.setAttributes(params);
63 65
      }
64 66
    }
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>
src/main/res/values-de/strings.xml
49 49
    <string name="abandon_solve">Give up</string>
50 50
    <string name="use_solver">Benutze</string>
51 51
    <string name="whatsnew">Was gibt\'s Neues</string>
52
    <string name="share">Teilen Sie diese Anwendung</string>
52
    <string name="share">Teilen Sie diese App</string>
53 53
    <string name="contact">Kontakt</string>
54 54
    <string name="email">Melden Sie einen Fehler, schlagen Sie eine Funktion vor:</string>
55 55

  
src/main/res/values-es/strings.xml
49 49
    <string name="abandon_solve">Abandonar</string>
50 50
    <string name="use_solver">Utilizar</string>
51 51
    <string name="whatsnew">Qué hay de nuevo</string>
52
    <string name="share">Comparte esta aplicación</string>
52
    <string name="share">Comparte esta app</string>
53 53
    <string name="contact">Contacto</string>
54 54
    <string name="email">Reportar un error, sugerir una función:</string>
55 55

  
src/main/res/values-fr/strings.xml
49 49
    <string name="abandon_solve">Abandonner</string>
50 50
    <string name="use_solver">Utiliser</string>
51 51
    <string name="whatsnew">Quoi de neuf</string>
52
    <string name="share">Partager cette application</string>
52
    <string name="share">Partager cette app</string>
53 53
    <string name="contact">Contactez-nous</string>
54 54
    <string name="email">Signaler un bug, suggérer une fonctionnalité :</string>
55 55

  
src/main/res/values-ja/strings.xml
49 49
    <string name="abandon_solve">あきらめる</string>
50 50
    <string name="use_solver">使用する</string>
51 51
    <string name="whatsnew">新着情報</string>
52
    <string name="share">このアプリケーションを共有する</string>
52
    <string name="share">このアプリを共有する</string>
53 53
    <string name="contact">お問い合わせ</string>
54 54
    <string name="email">バグを報告し、機能を提案してください:</string>
55 55

  
src/main/res/values-pl/strings.xml
49 49
    <string name="abandon_solve">Zrezygnuj</string>
50 50
    <string name="use_solver">Użyj</string>
51 51
    <string name="whatsnew">Nowości</string>
52
    <string name="share">Udostępnij tę aplikację</string>
52
    <string name="share">Udostępnij tę apkę</string>
53 53
    <string name="contact">Kontakt</string>
54 54
    <string name="email">Zaraportuj błąd, zadaj pytanie:</string>
55 55

  
src/main/res/values-ru/strings.xml
49 49
    <string name="abandon_solve">Сдаться</string>
50 50
    <string name="use_solver">Попробуй</string>
51 51
    <string name="whatsnew">Новинки</string>
52
    <string name="share">Поделитесь этим приложением</string>
52
    <string name="share">Поделись этим</string>
53 53
    <string name="contact">Контакт</string>
54 54
    <string name="email">Сообщить об ошибке, задать вопрос:</string>
55 55

  
src/main/res/values/strings.xml
51 51
    <string name="abandon_solve">Give up</string>
52 52
    <string name="use_solver">Try</string>
53 53
    <string name="whatsnew">What\'s new</string>
54
    <string name="share">Share this application</string>
54
    <string name="share">Share this app</string>
55 55
    <string name="contact">Contact us</string>
56 56
    <string name="email">Report a bug, suggest a feature:</string>
57 57

  

Also available in: Unified diff