New vision + RSS

This commit is contained in:
vladislav.khorev committed 2014-11-12 03:34:24 +00:00
1 parent 6f57fe72c6
commit 628f816a9e
47 files changed
+1440 -236

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
<set xmlns:android="http://schemas.android.com/apk/res/android">
<scale xmlns:android="http://schemas.android.com/apk/res/android"
android:fromXScale="0.0"
android:toXScale="1.0"
android:fromYScale="0.0"
android:toYScale="1.0"
android:duration="1000"
android:pivotX="50%"
android:pivotY="50%" >
</scale>
<translate
android:fromXDelta="0"
android:toXDelta="0"
android:fromYDelta="800"
android:toYDelta="0"
android:duration="1000" />
<alpha
android:fromAlpha="0"
android:toAlpha="1"
android:duration="1000" >
</alpha>
</set>
-12
View File
@@ -1,12 +0,0 @@
<set xmlns:android="http://schemas.android.com/apk/res/android">
<objectAnimator
android:valueFrom="0"
android:valueTo="200"
android:propertyName="flag_in"
android:interpolator="@android:interpolator/accelerate_decelerate"
android:duration="@integer/flag_in_time" />
</set>
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 794 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 794 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 608 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1022 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 718 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 553 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1006 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 625 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1006 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 617 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

+9
View File
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:state_focused="true" android:state_pressed="false" android:drawable="@drawable/see_more" />
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/see_more_highlighted" />
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/see_more_highlighted" />
<item android:drawable="@drawable/see_more" />
</selector>
@@ -0,0 +1,8 @@
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/see_more"/>
<item>
<shape>
<solid android:color="@color/button_highlighted" />
</shape>
</item>
</layer-list>
+20 -2
View File
@@ -1,6 +1,24 @@
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="fishrungames.bashgid.MainActivity" >
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/fragment_proto_container"
android:id="@+id/fragment_container"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</FrameLayout>
<fragment
android:id="@+id/navigation_drawer"
android:name="fishrungames.bashgid.NavigationDrawerFragment"
android:layout_width="@dimen/navigation_drawer_width"
android:layout_height="match_parent"
android:layout_gravity="start"
tools:layout="@layout/fragment_navigation_drawer" />
</android.support.v4.widget.DrawerLayout>
-12
View File
@@ -1,12 +0,0 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/fragment_proto_container"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<fragment android:name="fishrungames.bashgid.MainPageFragment"
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</FrameLayout>
+7 -4
View File
@@ -4,13 +4,15 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:orientation="horizontal" >
android:orientation="horizontal"
android:padding="4dp" >
<ImageView
android:id="@+id/imageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_margin="4dp"
android:layout_marginLeft="10dp"
android:src="@drawable/test_drawer_icon" />
<TextView
@@ -19,8 +21,9 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_margin="4dp"
android:paddingLeft="10dp"
android:text="TextView"
android:textColor="@color/text_white"
android:textSize="24sp" />
android:textSize="20sp" />
</LinearLayout>
-28
View File
@@ -1,28 +0,0 @@
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="fishrungames.bashgid.MainActivity" >
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/fragment_container"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</FrameLayout>
<ListView android:id="@+id/left_drawer"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="start"
android:choiceMode="singleChoice"
android:divider="@android:color/transparent"
android:dividerHeight="0dp"
android:background="#111"/>
</android.support.v4.widget.DrawerLayout>
+5 -27
View File
@@ -3,41 +3,19 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="0dp"
android:background="@drawable/background"
android:background="@color/bkg2"
android:orientation="vertical"
tools:context="fishrungames.bashgid.MainPageFragment" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp" >
<EditText
android:id="@+id/editText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="10" >
<requestFocus />
</EditText>
<ImageButton
android:id="@+id/searchButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:background="@drawable/transparent"
android:padding="8dp"
android:src="@drawable/abc_ic_search" />
</LinearLayout>
<ListView
android:id="@+id/listView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:divider="@drawable/transparent"
android:dividerHeight="18dp" >
android:dividerHeight="18dp"
android:paddingBottom="16dp" >
</ListView>
@@ -0,0 +1,13 @@
<ListView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawerListView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/drawer_color"
android:choiceMode="singleChoice"
android:divider="@color/drawer_divider_color"
android:dividerHeight="1dp"
android:paddingLeft="10dp"
android:paddingRight="10dp"
tools:context="fishrungames.bashgid.NavigationDrawerFragment" />
+16 -7
View File
@@ -3,7 +3,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="4dp"
android:background="@color/light_blue"
android:background="@color/bkg1"
android:orientation="vertical"
android:paddingBottom="4dp"
android:paddingTop="4dp"
@@ -11,21 +11,29 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
android:layout_height="wrap_content"
android:gravity="top" >
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:text="TextView" />
android:paddingLeft="16dp"
android:textSize="16sp"
android:textStyle="bold" />
<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical|right|center_horizontal"
android:text="Button" />
android:layout_width="152dp"
android:layout_height="24dp"
android:layout_margin="8dp"
android:background="@drawable/see_more_button"
android:gravity="right|center_vertical"
android:paddingRight="28dp"
android:text="Узнать больше"
android:textSize="16sp" />
</LinearLayout>
@@ -33,6 +41,7 @@
android:id="@+id/hListView"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
</it.sephiroth.android.library.widget.HListView>
</LinearLayout>
+26 -18
View File
@@ -2,11 +2,10 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="0dp"
android:background="@color/light_blue"
android:background="@color/bkg1"
android:orientation="vertical"
android:paddingLeft="30dp"
android:paddingRight="30dp"
android:paddingLeft="20dp"
android:paddingRight="20dp"
tools:context="fishrungames.bashgid.MainPageFragment" >
<TextView
@@ -15,64 +14,73 @@
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_margin="8dp"
android:text="Новости"
android:text="@string/news_header"
android:textSize="24sp"
android:textStyle="bold" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp" >
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp" >
<ImageView
android:id="@+id/news1ImageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:contentDescription="@string/news_content_description_1" />
<TextView
android:id="@+id/news1TextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:text="TextView" />
android:layout_gravity="center_vertical"
android:layout_marginLeft="8dp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp" >
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp" >
<ImageView
android:id="@+id/news2ImageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:contentDescription="@string/news_content_description_2" />
<TextView
android:id="@+id/news2TextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:text="TextView" />
android:layout_gravity="center_vertical"
android:layout_marginLeft="8dp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp" >
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp" >
<ImageView
android:id="@+id/news3ImageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:contentDescription="@string/news_content_description_3" />
<TextView
android:id="@+id/news3TextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:text="TextView" />
android:layout_gravity="center_vertical"
android:layout_marginLeft="8dp" />
</LinearLayout>
@@ -81,6 +89,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="Button" />
android:text="@string/other_news" />
</LinearLayout>
+5 -5
View File
@@ -1,10 +1,10 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" >
<item
android:id="@+id/action_settings"
android:orderInCategory="100"
android:title="@string/action_settings"
app:showAsAction="never"/>
<item android:id="@+id/search"
android:title="@string/search_title"
android:icon="@drawable/abc_ic_search_api_mtrl_alpha"
app:showAsAction="always"
android:actionViewClass="android.widget.SearchView" />
</menu>
+9
View File
@@ -18,6 +18,15 @@
<color name="light_blue">#BCDEFF</color>
<color name="bkg1">#F0F0F0</color>
<color name="bkg2">#d0d0d0</color>
<color name="drawer_color">#202020</color>
<color name="drawer_divider_color">#404040</color>
+12
View File
@@ -16,7 +16,19 @@
<string name="search_title">Поиск</string>
<string name="news_record_not_available">Запись недоступна</string>
<string name="other_news">Другие новости...</string>
<string name="news_header">Новости</string>
<string name="news_content_description_1">Image related to news record</string>
<string name="news_content_description_2">Image related to news record</string>
<string name="news_content_description_3">Image related to news record</string>
<string name="RB_Coat">Coat of Bashkortostan</string>