MessageView: UI: change prev/next arrows, re-enable notification bar shadow.

Bug: 2149187.
This commit is contained in:
Mihai Preda 2009-09-30 15:10:17 +02:00
parent ba6cf35b4f
commit 536f04d3fb
17 changed files with 53 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 530 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 845 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 804 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 712 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 693 B

View File

@ -21,4 +21,5 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/btn_icon_bg_pressed" />
<item android:state_focused="true" android:drawable="@drawable/btn_icon_bg_focused" />
<!-- <item android:drawable="@drawable/bg_arrow_unselected" /> -->
</selector>

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2009, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true" android:drawable="@drawable/ic_btn_arrow_left_focus" />
<item android:drawable="@drawable/ic_btn_arrow_left_unselected" />
</selector>

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2007, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true" android:drawable="@drawable/ic_btn_arrow_right_focus" />
<item android:drawable="@drawable/ic_btn_arrow_right_unselected" />
</selector>

View File

@ -44,16 +44,16 @@
android:layout_width="40dip"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:src="@drawable/ic_left_prev_arrow_default"
android:background="@drawable/btn_prev_next" />
android:src="@drawable/btn_arrow_left"
android:background="@drawable/btn_arrow_background" />
<ImageButton
android:id="@+id/next"
android:layout_height="35dip"
android:layout_width="40dip"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:src="@drawable/ic_right_next_arrow_default"
android:background="@drawable/btn_prev_next" />
android:src="@drawable/btn_arrow_right"
android:background="@drawable/btn_arrow_background" />
</RelativeLayout>
<include layout="@layout/message_view_header" />

View File

@ -315,7 +315,6 @@ public class MessageView extends Activity implements OnClickListener {
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setContentView(R.layout.message_view);
mSubjectView = (TextView) findViewById(R.id.subject);