Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
roy9527 committed Nov 19, 2013
1 parent b39af3d commit 2677f8f
Show file tree
Hide file tree
Showing 7 changed files with 132 additions and 0 deletions.
15 changes: 15 additions & 0 deletions client/Android/res/anim/scale.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >

<scale
android:duration="3200"
android:fillAfter="true"
android:fromXScale="1.0"
android:fromYScale="1.0"
android:interpolator="@android:anim/accelerate_decelerate_interpolator"
android:pivotX="50%"
android:pivotY="50%"
android:toXScale="1.3"
android:toYScale="1.3" />

</set>
Binary file added client/Android/res/drawable-xhdpi/splash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions client/Android/res/layout/activity_main_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
android:layout_height="match_parent"
android:layout_gravity="end"
android:paddingTop="@dimen/dd_dimen_96px" >

<include
android:layout_width="match_parent"
android:layout_height="match_parent"
layout="@layout/fragment_event_list_layout" />
</FrameLayout>
</android.support.v4.widget.DrawerLayout>

Expand Down
33 changes: 33 additions & 0 deletions client/Android/res/layout/activity_splash_layout.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/normal_base_content"
android:layout_width="match_parent"
android:layout_height="match_parent" >

<include
android:id="@+id/normal_title_layout"
android:layout_width="match_parent"
android:layout_height="@dimen/dd_dimen_96px"
layout="@layout/base_title_layout"
android:visibility="gone" />

<ImageView
android:id="@+id/splash_img"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/splash" />

<FrameLayout
android:id="@+id/normal_extra_content_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</FrameLayout>

<FrameLayout
android:id="@+id/normal_loading_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</FrameLayout>

</RelativeLayout>
8 changes: 8 additions & 0 deletions client/Android/res/layout/content_splash_layout.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?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:orientation="vertical" >


</LinearLayout>
16 changes: 16 additions & 0 deletions client/Android/res/layout/fragment_event_list_layout.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/fuxk_base_color_white"
android:orientation="vertical" >

<ListView
android:id="@+id/event_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:divider="@color/fuxk_base_divide_line_color"
android:dividerHeight="1px" >
</ListView>

</RelativeLayout>
55 changes: 55 additions & 0 deletions client/Android/res/layout/item_event_layout.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?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:gravity="center_vertical"
android:orientation="horizontal" >

<ImageView
android:id="@+id/event_logo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dd_dimen_20px"
android:scaleType="centerInside"
android:src="@drawable/wolf_alarms" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="@dimen/dd_dimen_20px" >

<TextView
android:id="@+id/event_t"
style="@style/TextViewStyleMiddle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:singleLine="true"
android:text="这是标题" >
</TextView>

<TextView
android:id="@+id/event_c"
style="@style/TextViewStyleMiddle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dd_dimen_5px"
android:ellipsize="end"
android:singleLine="true"
android:text="这是内容" >
</TextView>

<TextView
android:id="@+id/event_d"
style="@style/TextViewStyleSmall"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dd_dimen_5px"
android:ellipsize="end"
android:singleLine="true"
android:text="这是时间" >
</TextView>
</LinearLayout>

</LinearLayout>

0 comments on commit 2677f8f

Please sign in to comment.