Added teasers
No files matched your search
|
After Width: | Height: | Size: 90 KiB |
@@ -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/agro_teaser" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/agro_teaser_darken" />
|
||||
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/agro_teaser_darken" />
|
||||
<item android:drawable="@drawable/agro_teaser" />
|
||||
|
||||
</selector>
|
||||
|
After Width: | Height: | Size: 87 KiB |
|
Before Width: | Height: | Size: 3.9 MiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 73 KiB |
@@ -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/culture_teaser" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/culture_teaser_darken" />
|
||||
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/culture_teaser_darken" />
|
||||
<item android:drawable="@drawable/culture_teaser" />
|
||||
|
||||
</selector>
|
||||
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 91 KiB |
@@ -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/economics_teaser" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/economics_teaser_darken" />
|
||||
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/economics_teaser_darken" />
|
||||
<item android:drawable="@drawable/economics_teaser" />
|
||||
|
||||
</selector>
|
||||
|
After Width: | Height: | Size: 71 KiB |
|
After Width: | Height: | Size: 85 KiB |
@@ -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/education_teaser" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/education_teaser_darken" />
|
||||
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/education_teaser_darken" />
|
||||
<item android:drawable="@drawable/education_teaser" />
|
||||
|
||||
</selector>
|
||||
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 72 KiB |
@@ -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/medicine_teaser" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/medicine_teaser_darken" />
|
||||
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/medicine_teaser_darken" />
|
||||
<item android:drawable="@drawable/medicine_teaser" />
|
||||
|
||||
</selector>
|
||||
|
After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 9.0 KiB |
|
After Width: | Height: | Size: 87 KiB |
@@ -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/sport_teaser" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/sport_teaser_darken" />
|
||||
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/sport_teaser_darken" />
|
||||
<item android:drawable="@drawable/sport_teaser" />
|
||||
|
||||
</selector>
|
||||
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 328 B |
|
After Width: | Height: | Size: 6.2 KiB |
|
After Width: | Height: | Size: 91 KiB |
@@ -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/test_teaser_bkg" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/test_teaser_bkg_darken" />
|
||||
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/test_teaser_bkg_darken" />
|
||||
<item android:drawable="@drawable/test_teaser_bkg" />
|
||||
|
||||
</selector>
|
||||
|
After Width: | Height: | Size: 81 KiB |
|
After Width: | Height: | Size: 121 KiB |
|
After Width: | Height: | Size: 71 KiB |
@@ -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/tourism_teaser" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/tourism_teaser_darken" />
|
||||
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/tourism_teaser_darken" />
|
||||
<item android:drawable="@drawable/tourism_teaser" />
|
||||
|
||||
</selector>
|
||||
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 78 KiB |
@@ -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/transport_teaser" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/transport_teaser_darken" />
|
||||
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/transport_teaser_darken" />
|
||||
<item android:drawable="@drawable/transport_teaser" />
|
||||
|
||||
</selector>
|
||||
|
After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 15 KiB |
@@ -0,0 +1,12 @@
|
||||
<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>
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/LinearLayout2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="4dp"
|
||||
android:src="@drawable/test_drawer_icon" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_margin="4dp"
|
||||
android:text="TextView"
|
||||
android:textColor="@color/text_white"
|
||||
android:textSize="24sp" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -2,6 +2,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="0dp"
|
||||
android:background="@drawable/background"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
@@ -10,10 +11,19 @@
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
tools:context="fishrungames.bashgid.MainPageFragment" >
|
||||
|
||||
<ListView
|
||||
android:id="@+id/teaserListView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
</ListView>
|
||||
<GridView
|
||||
android:id="@+id/teaserGridView"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:alwaysDrawnWithCache="true"
|
||||
android:gravity="center_horizontal"
|
||||
android:horizontalSpacing="10dp"
|
||||
android:numColumns="2"
|
||||
android:scrollingCache="true"
|
||||
android:smoothScrollbar="true"
|
||||
android:stretchMode="columnWidth"
|
||||
android:verticalSpacing="10dp" >
|
||||
|
||||
</GridView>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/light_grey"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<ListView
|
||||
android:id="@+id/listView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
</ListView>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/headerTextView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:text="TextView"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/subHeaderTextView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:text="TextView" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_margin="5dp" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView"
|
||||
android:layout_width="204dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_margin="5dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/economics_teaser" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/imageTextView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:text="TextView"
|
||||
android:visibility="gone" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/footerTextView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
android:text="TextView" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -7,101 +7,14 @@
|
||||
android:orientation="vertical"
|
||||
android:showDividers="middle" >
|
||||
|
||||
<LinearLayout
|
||||
<Button
|
||||
android:id="@+id/teaserElement"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="4dp"
|
||||
android:background="@color/light_grey" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textTeaserHeader"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Заголовок" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_margin="4dp"
|
||||
android:background="@color/light_grey" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageTeaser1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/russia_icon" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textTeaser1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="6dp"
|
||||
android:text="TextView" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_margin="4dp"
|
||||
android:background="@color/light_grey" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageTeaser2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/russia_icon" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textTeaser2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="6dp"
|
||||
android:text="TextView" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_margin="4dp"
|
||||
android:background="@color/light_grey" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageTeaser3"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/russia_icon" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textTeaser3"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="6dp"
|
||||
android:text="TextView" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="4dp"
|
||||
android:background="@color/light_grey" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView3"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="TextView" />
|
||||
|
||||
</LinearLayout>
|
||||
android:layout_height="120dp"
|
||||
android:background="@drawable/test_teaser_bkg_button"
|
||||
android:text="Промышленность"
|
||||
android:textColor="@color/text_white"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -4,10 +4,13 @@
|
||||
<string name="app_name">Bashgid</string>
|
||||
|
||||
|
||||
<color name="light_grey">#60E0E0E0</color>
|
||||
<color name="light_grey">#E0E0E0</color>
|
||||
|
||||
<color name="light_grey_1">#60d0d0d0</color>
|
||||
|
||||
<color name="text_white">#F0F0F0</color>
|
||||
|
||||
|
||||
<color name="teaser_color">#2B517F</color>
|
||||
|
||||
|
||||
</resources>
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string name="app_name">Bashgid</string>
|
||||
<string name="app_name">Гид РБ</string>
|
||||
<string name="title_section1">Section 1</string>
|
||||
<string name="title_section2">Section 2</string>
|
||||
<string name="title_section3">Section 3</string>
|
||||
|
||||