30 lines
1.2 KiB
XML
30 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<com.annimon.screenweather.AnimationLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/animation_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" >
|
|
<LinearLayout
|
|
android:id="@id/animation_layout_sidebar"
|
|
android:layout_width="120dp"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical" >
|
|
<ListView
|
|
android:id="@+id/weathersListView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
</LinearLayout>
|
|
|
|
<!-- To make LinearLayout clickable to trigger onContentTouchedWhenOpening() -->
|
|
<LinearLayout
|
|
android:id="@id/animation_layout_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clickable="true"
|
|
android:orientation="vertical" >
|
|
<ImageView
|
|
android:id="@+id/content_image"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
</LinearLayout>
|
|
</com.annimon.screenweather.AnimationLayout>
|