Fixing bugs

This commit is contained in:
vladislav.khorev committed 2015-07-05 11:03:52 +00:00
1 parent 2345ed733c
commit b0021bbbf6
87 files changed
+2483 -1167

No files matched your search

@@ -13,7 +13,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/medium_margin"
android:background="@color/bkg2"
android:background="@color/button_default"
android:drawableLeft="@drawable/ic_action_web_site"
android:text="@string/go_to_website"
android:textSize="@dimen/xlarge_text_size" />
+1 -1
View File
@@ -13,7 +13,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/medium_margin"
android:background="@color/bkg2"
android:background="@color/button_default"
android:drawableLeft="@drawable/ic_action_call"
android:gravity="left|center_vertical"
android:textSize="@dimen/xlarge_text_size" />
+5 -3
View File
@@ -7,14 +7,16 @@
android:orientation="vertical"
android:showDividers="middle" >
<fishrungames.bashgid.DynamicImageView
<ImageView
android:id="@+id/imageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:adjustViewBounds="true"
android:cropToPadding="false"
android:scaleType="centerCrop" />
android:cropToPadding="false"
android:minHeight="10dp"
android:minWidth="10dp"
android:scaleType="centerCrop" />
<TextView
android:id="@+id/dateTextView"
@@ -11,15 +11,17 @@
android:layout_gravity="center_horizontal"
android:indeterminate="true" />
<GridView
<fishrungames.bashgid.StaticGridView
android:id="@+id/gridView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="bottom"
android:horizontalSpacing="@dimen/grid_view_horizontal_spacing"
android:numColumns="@integer/grid_columns"
android:verticalSpacing="@dimen/grid_view_vertical_spacing" >
android:verticalSpacing="@dimen/grid_view_vertical_spacing"
android:isScrollContainer="false"
android:stretchMode="columnWidth" />
</GridView>
</LinearLayout>
@@ -7,7 +7,7 @@
android:orientation="vertical"
tools:context="fishrungames.bashgid.MainPageFragment" >
<ListView
android:id="@+id/listView"
android:layout_width="match_parent"
@@ -20,4 +20,13 @@
</ListView>
<ProgressBar
android:id="@+id/progressBar"
style="?android:attr/progressBarStyleLarge"
android:layout_width="@dimen/progress_bar_size"
android:layout_height="@dimen/progress_bar_size"
android:layout_gravity="center_horizontal"
android:indeterminate="true" />
</LinearLayout>
@@ -3,19 +3,18 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="0dp"
android:background="@color/bkg1"
android:background="@color/black"
android:orientation="vertical"
tools:context="fishrungames.bashgid.MainPageFragment" >
<ListView
android:id="@+id/listView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/large_margin"
android:layout_gravity="center_horizontal"
android:layout_marginLeft="@dimen/large_margin"
android:layout_marginRight="@dimen/large_margin"
android:divider="@color/bkg2"
android:divider="@color/black"
android:dividerHeight="@dimen/small_divider_height" >
</ListView>
@@ -139,6 +139,7 @@
style="?android:attr/borderlessButtonStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/button_default"
android:text="@string/call_support"
android:textSize="@dimen/small_text_size"
android:layout_marginBottom="@dimen/medium_margin"
@@ -149,6 +150,7 @@
style="?android:attr/borderlessButtonStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/button_default"
android:text="@string/visit_kitap"
android:textSize="@dimen/small_text_size"
android:layout_marginBottom="@dimen/medium_margin" />
@@ -158,6 +160,7 @@
style="?android:attr/borderlessButtonStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/button_default"
android:text="@string/visit_developer"
android:textSize="@dimen/small_text_size"
android:layout_marginBottom="@dimen/medium_margin" />
@@ -167,6 +170,7 @@
style="?android:attr/borderlessButtonStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/button_default"
android:text="@string/visit_translator"
android:textSize="@dimen/small_text_size"
android:layout_marginBottom="@dimen/medium_margin" />
@@ -32,7 +32,9 @@
<TextView
android:id="@+id/descriptionTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:layout_margin="@dimen/medium_margin" />
</LinearLayout>
</ScrollView>
+9 -3
View File
@@ -36,7 +36,9 @@
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/lang_english"
android:textSize="@dimen/language_text_size" />
android:textColor="@color/text_white"
android:textSize="@dimen/language_text_size"
android:textStyle="bold" />
<ImageButton
android:id="@+id/image_flag_usa"
@@ -65,7 +67,9 @@
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/lang_russian"
android:textSize="@dimen/language_text_size" />
android:textColor="@color/text_white"
android:textSize="@dimen/language_text_size"
android:textStyle="bold" />
<ImageButton
android:id="@+id/image_flag_russia"
@@ -94,7 +98,9 @@
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/lang_chinese"
android:textSize="@dimen/language_text_size" />
android:textColor="@color/text_white"
android:textSize="@dimen/language_text_size"
android:textStyle="bold" />
<ImageButton
android:id="@+id/image_flag_china"
@@ -2,27 +2,27 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/LinearLayout1"
android:layout_width="match_parent"
android:layout_height="@dimen/video_page_height"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:background="@color/bkg1"
android:gravity="center_vertical"
android:orientation="vertical"
android:showDividers="middle" >
<fishrungames.bashgid.DynamicImageView
<fishrungames.bashgid.SquareImageView
android:id="@+id/imageView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="bottom"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:adjustViewBounds="true"
android:cropToPadding="false"
android:scaleType="centerCrop" />
<TextView
android:id="@+id/nameTextView"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_gravity="clip_vertical"
android:layout_margin="@dimen/medium_margin"
android:text="dsdsd"
android:textSize="@dimen/large_text_size"
+55
View File
@@ -13,6 +13,61 @@
android:background="@color/bkg2" />
<include layout="@layout/main_page_news"/>
<View
android:id="@+id/View01"
android:layout_width="match_parent"
android:layout_height="@dimen/large_divider_height"
android:background="@color/bkg2" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/bkg1"
android:orientation="vertical"
android:paddingLeft="20dp"
android:paddingRight="20dp" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal"
android:orientation="horizontal" >
<TextView
android:id="@+id/shortCatalogTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal"
android:layout_margin="@dimen/medium_margin"
android:text="@string/featured"
android:textSize="@dimen/large_text_size"
android:textStyle="bold" />
<ImageButton
android:id="@+id/refreshCatalogButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal"
android:background="@drawable/transparent"
android:src="@drawable/ic_action_refresh" />
</LinearLayout>
<ProgressBar
android:id="@+id/databaseDownloadProgressBar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:indeterminate="false"
android:max="100"
android:progress="0" />
</LinearLayout>
</LinearLayout>
+30 -8
View File
@@ -6,23 +6,40 @@
android:orientation="vertical"
tools:context="fishrungames.bashgid.MainPageFragment" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal"
android:orientation="horizontal" >
<TextView
android:id="@+id/selectLanguageTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_gravity="center_vertical|center_horizontal"
android:layout_margin="@dimen/medium_margin"
android:text="@string/news_header"
android:textSize="@dimen/large_text_size"
android:textStyle="bold" />
<ImageButton
android:id="@+id/refreshNewsButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal"
android:background="@drawable/transparent"
android:src="@drawable/ic_action_refresh" />
</LinearLayout>
<ProgressBar
android:id="@+id/progressBar"
style="?android:attr/progressBarStyleLarge"
android:layout_width="@dimen/progress_bar_size"
android:layout_height="@dimen/progress_bar_size"
android:layout_gravity="center_horizontal"
android:indeterminate="true" />
android:id="@+id/newsDownloadProgressBar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:indeterminate="false"
android:max="100"
android:progress="0" />
<LinearLayout
android:layout_width="match_parent"
@@ -36,6 +53,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/medium_margin"
android:layout_marginRight="@dimen/medium_margin"
android:background="@drawable/transparent_button"
android:gravity="left|center_vertical"
android:minHeight="0dp"
@@ -56,6 +74,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/medium_margin"
android:layout_marginRight="@dimen/medium_margin"
android:background="@drawable/transparent_button"
android:gravity="left|center_vertical"
android:minHeight="0dp"
@@ -76,6 +95,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/medium_margin"
android:layout_marginRight="@dimen/medium_margin"
android:background="@drawable/transparent_button"
android:gravity="left|center_vertical"
android:minHeight="0dp"
@@ -90,7 +110,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="@drawable/transparent"
android:layout_margin="@dimen/medium_margin"
android:background="@color/button_default"
android:padding="@dimen/medium_margin"
android:text="@string/other_news" />
</LinearLayout>
+5
View File
@@ -29,6 +29,8 @@
android:id="@+id/searchEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:lines="1"
android:maxLines="1"
android:hint="@string/enter_search_query" >
<requestFocus />
@@ -41,6 +43,9 @@
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:drawableLeft="@drawable/ic_action_search"
android:layout_margin="@dimen/medium_margin"
android:background="@color/button_default"
android:padding="@dimen/medium_margin"
android:text="@string/search_title"
android:textSize="@dimen/large_text_size" />
+30 -14
View File
@@ -8,22 +8,38 @@
android:paddingRight="20dp"
tools:context="fishrungames.bashgid.MainPageFragment" >
<TextView
android:id="@+id/dateTextView"
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_margin="@dimen/medium_margin"
android:text="@string/news_header"
android:textSize="@dimen/large_text_size"
android:textStyle="bold" />
android:layout_gravity="center_vertical|center_horizontal" >
<TextView
android:id="@+id/dateTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal"
android:layout_margin="@dimen/medium_margin"
android:text="@string/news_header"
android:textSize="@dimen/large_text_size"
android:textStyle="bold" />
<ImageButton
android:id="@+id/refreshNewsButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal"
android:background="@drawable/transparent"
android:src="@drawable/ic_action_refresh" />
</LinearLayout>
<ProgressBar
android:id="@+id/progressBar"
style="?android:attr/progressBarStyleLarge"
android:layout_width="@dimen/progress_bar_size"
android:layout_height="@dimen/progress_bar_size"
android:layout_gravity="center_horizontal"
android:indeterminate="true" />
android:id="@+id/newsDownloadProgressBar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:indeterminate="false"
android:max="100"
android:progress="0" />
</LinearLayout>
+12 -10
View File
@@ -1,18 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/LinearLayout"
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/light_grey_1"
android:orientation="horizontal"
android:layout_gravity="center_horizontal"
android:background="@color/black"
android:orientation="vertical"
android:showDividers="middle" >
<fishrungames.bashgid.DynamicImageView
android:id="@+id/imageView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:cropToPadding="false"
android:scaleType="centerCrop" />
<ImageView
android:id="@+id/imageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:adjustViewBounds="true"
android:cropToPadding="false"
android:scaleType="centerCrop" />
</LinearLayout>
@@ -1,25 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/LinearLayout1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/light_grey_1"
android:orientation="vertical"
android:showDividers="middle" >
<ImageButton
android:id="@+id/imageButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:adjustViewBounds="true"
android:contentDescription="@string/related_image"
android:scaleType="fitCenter" />
<TextView
android:id="@+id/dateTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="TextView" />
</LinearLayout>
@@ -3,6 +3,7 @@
android:id="@+id/LinearLayout1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black"
android:gravity="center_vertical"
android:orientation="vertical" >
@@ -32,6 +33,7 @@
android:layout_height="wrap_content"
android:layout_margin="@dimen/large_margin"
android:text="TextView"
android:textColor="@color/text_white"
android:textSize="@dimen/xlarge_text_size"
android:textStyle="bold" />
@@ -42,6 +44,7 @@
android:layout_marginLeft="@dimen/large_margin"
android:layout_marginRight="@dimen/large_margin"
android:text="TextView"
android:textColor="@color/text_white"
android:textSize="@dimen/medium_text_size" />
</LinearLayout>
+15 -4
View File
@@ -7,20 +7,30 @@
tools:context="fishrungames.bashgid.SearchFragment" >
<TextView
android:id="@+id/addressTextView"
android:id="@+id/titleTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:gravity="center_horizontal"
android:textSize="@dimen/medium_text_size"
android:textSize="@dimen/xlarge_text_size"
android:textStyle="bold" />
<TextView
android:id="@+id/smallHintTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/search_small_hint"
android:textSize="@dimen/xsmall_text_size" />
<EditText
android:id="@+id/editText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/enter_search_query"
android:inputType="text" >
android:inputType="text"
android:lines="1"
android:maxLines="1"
android:textSize="@dimen/medium_text_size" >
<requestFocus />
</EditText>
@@ -28,6 +38,7 @@
<TextView
android:id="@+id/hintTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:textSize="@dimen/xsmall_text_size" />
</LinearLayout>