Added SQLite, added languages
This commit is contained in:
1 parent
628f816a9e
commit
f50fd1ac61
28 files changed
+877
-103
No files matched your search
@@ -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/transparent" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/transparent_highlighted" />
|
||||
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/transparent_highlighted" />
|
||||
<item android:drawable="@drawable/transparent" />
|
||||
|
||||
</selector>
|
||||
@@ -0,0 +1,8 @@
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/transparent"/>
|
||||
<item>
|
||||
<shape>
|
||||
<solid android:color="@color/button_highlighted" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
@@ -12,13 +12,13 @@
|
||||
android:id="@+id/imageButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal" />
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:contentDescription="@string/related_image" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView1"
|
||||
android:id="@+id/textView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:text="TextView" />
|
||||
android:layout_gravity="center_vertical" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -9,11 +9,11 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_margin="4dp"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:src="@drawable/test_drawer_icon" />
|
||||
android:contentDescription="@string/icon" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView"
|
||||
@@ -22,7 +22,7 @@
|
||||
android:layout_gravity="center"
|
||||
android:layout_margin="4dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="TextView"
|
||||
android:text=""
|
||||
android:textColor="@color/text_white"
|
||||
android:textSize="20sp" />
|
||||
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="0dp"
|
||||
android:background="@color/bkg1"
|
||||
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_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:divider="@color/bkg2"
|
||||
android:dividerHeight="2dp"
|
||||
android:paddingBottom="16dp" >
|
||||
|
||||
</ListView>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,38 @@
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="0dp"
|
||||
android:background="@color/bkg1"
|
||||
tools:context="fishrungames.bashgid.MainPageFragment" >
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/titleTextView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColorHint="@color/text_black"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:src="@drawable/transparent"
|
||||
android:contentDescription="@string/news_content_description" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/descriptionTextView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="18sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:contentDescription="@string/news_content_description_1" />
|
||||
android:contentDescription="@string/news_content_description" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/news1TextView"
|
||||
@@ -51,7 +51,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:contentDescription="@string/news_content_description_2" />
|
||||
android:contentDescription="@string/news_content_description" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/news2TextView"
|
||||
@@ -73,7 +73,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:contentDescription="@string/news_content_description_3" />
|
||||
android:contentDescription="@string/news_content_description" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/news3TextView"
|
||||
@@ -92,3 +92,4 @@
|
||||
android:text="@string/other_news" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
<?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="4dp"
|
||||
android:background="@color/bkg1"
|
||||
android:orientation="horizontal"
|
||||
android:paddingBottom="4dp"
|
||||
android:paddingTop="4dp"
|
||||
android:showDividers="middle" >
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/imageButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_margin="6dp"
|
||||
android:background="@drawable/transparent"
|
||||
android:src="@drawable/transparent_button"
|
||||
android:contentDescription="@string/news_content_description" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="@drawable/transparent_button"
|
||||
android:gravity="left|center_vertical"
|
||||
android:minHeight="0dip"
|
||||
android:minWidth="0dip"
|
||||
android:textColor="@color/text_grey" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,21 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/bkg1"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp"
|
||||
tools:context="fishrungames.bashgid.MainPageFragment" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_margin="8dp"
|
||||
android:text="@string/news_header"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -3,10 +3,6 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="fishrungames.bashgid.MainActivity" >
|
||||
|
||||
<item
|
||||
android:id="@+id/action_example"
|
||||
android:title="@string/action_example"
|
||||
app:showAsAction="withText|ifRoom"/>
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="100"
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string name="app_name">Гид РБ</string>
|
||||
|
||||
<string name="navigation_drawer_open">Открыть левую панель</string>
|
||||
<string name="navigation_drawer_close">Закрыть левую панель</string>
|
||||
|
||||
<string name="action_settings">Настройки</string>
|
||||
|
||||
<string name="search_title">Поиск</string>
|
||||
|
||||
<string name="news_record_not_available">Запись недоступна</string>
|
||||
<string name="other_news">Другие новости…</string>
|
||||
|
||||
<string name="see_all">Посмотреть все</string>
|
||||
|
||||
|
||||
<string name="news_header">Новости</string>
|
||||
|
||||
<string name="news_content_description">Картинка к новости</string>
|
||||
|
||||
<string name="related_image">Картинка к странице</string>
|
||||
<string name="icon">Иконка</string>
|
||||
|
||||
|
||||
|
||||
<string name="RB_Coat">Логотип</string>
|
||||
|
||||
<string name="drawer_header">Гид РБ</string>
|
||||
<string name="drawer_guide">Гид</string>
|
||||
<string name="drawer_news">Новости</string>
|
||||
<string name="drawer_catalogue">Каталог</string>
|
||||
<string name="drawer_map">Карта</string>
|
||||
<string name="drawer_video">Видео</string>
|
||||
<string name="drawer_photo_gallery">Фотогалерея</string>
|
||||
<string name="drawer_for_investor">Инвестору</string>
|
||||
<string name="drawer_settings">Настройки</string>
|
||||
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string name="app_name">巴什科尔托斯坦指南</string>
|
||||
<string name="navigation_drawer_open">打开导航窗格</string>
|
||||
<string name="navigation_drawer_close">关闭导航窗格</string>
|
||||
<string name="action_settings">设置</string>
|
||||
|
||||
<string name="search_title">搜索</string>
|
||||
|
||||
<string name="news_record_not_available">文章不可</string>
|
||||
<string name="other_news">其他新闻…</string>
|
||||
|
||||
<string name="see_all">查看更多新闻</string>
|
||||
|
||||
|
||||
<string name="news_header">新闻</string>
|
||||
|
||||
<string name="news_content_description">图片相关的新闻</string>
|
||||
|
||||
<string name="related_image">图片相关文章</string>
|
||||
<string name="icon">图标</string>
|
||||
|
||||
<string name="RB_Coat">徽标</string>
|
||||
|
||||
<string name="drawer_header">巴什科尔托斯坦指南</string>
|
||||
<string name="drawer_guide">指南</string>
|
||||
<string name="drawer_news">新闻</string>
|
||||
<string name="drawer_catalogue">目录</string>
|
||||
<string name="drawer_map">地图</string>
|
||||
<string name="drawer_video">视频</string>
|
||||
<string name="drawer_photo_gallery">图片库</string>
|
||||
<string name="drawer_for_investor">投资者信息</string>
|
||||
<string name="drawer_settings">设置</string>
|
||||
|
||||
|
||||
|
||||
</resources>
|
||||
@@ -9,6 +9,11 @@
|
||||
<color name="light_grey_1">#60d0d0d0</color>
|
||||
|
||||
<color name="text_white">#F0F0F0</color>
|
||||
|
||||
<color name="text_black">#080808</color>
|
||||
|
||||
<color name="text_grey">#808080</color>
|
||||
|
||||
|
||||
<color name="teaser_color">#2B517F</color>
|
||||
|
||||
|
||||
@@ -1,35 +1,46 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<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>
|
||||
<string name="app_name">RB Guide</string>
|
||||
<string name="navigation_drawer_open">Open navigation drawer</string>
|
||||
<string name="navigation_drawer_close">Close navigation drawer</string>
|
||||
<string name="action_example">Example action</string>
|
||||
<string name="action_settings">Settings</string>
|
||||
<string name="action_settings">Settings</string>
|
||||
|
||||
|
||||
|
||||
<string name="lang_english">English</string>
|
||||
<string name="lang_russian">Russian</string>
|
||||
<string name="lang_chinese">Chinese</string>
|
||||
<string name="lang_russian">Русский</string>
|
||||
<string name="lang_chinese">中文</string>
|
||||
|
||||
|
||||
|
||||
<string name="search_title">Поиск</string>
|
||||
<string name="search_title">Search</string>
|
||||
|
||||
<string name="news_record_not_available">Запись недоступна</string>
|
||||
<string name="other_news">Другие новости...</string>
|
||||
<string name="news_record_not_available">Record is not available</string>
|
||||
<string name="other_news">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="see_all">See all</string>
|
||||
|
||||
|
||||
|
||||
<string name="RB_Coat">Coat of Bashkortostan</string>
|
||||
<string name="news_header">News</string>
|
||||
|
||||
<string name="news_content_description">Image related to news record</string>
|
||||
|
||||
<string name="related_image">Related image</string>
|
||||
<string name="icon">Icon</string>
|
||||
|
||||
<string name="RB_Coat">Logo</string>
|
||||
|
||||
<string name="drawer_header">RB Guide</string>
|
||||
<string name="drawer_guide">Guide</string>
|
||||
<string name="drawer_news">News</string>
|
||||
<string name="drawer_catalogue">Catalogue</string>
|
||||
<string name="drawer_map">Map</string>
|
||||
<string name="drawer_video">Video</string>
|
||||
<string name="drawer_photo_gallery">Photo gallery</string>
|
||||
<string name="drawer_for_investor">For investor</string>
|
||||
<string name="drawer_settings">Settings</string>
|
||||
|
||||
|
||||
|
||||
</resources>
|
||||
Reference in new issue
Block a user