[Android] Request initial focus on TimePicker

Geoffrey Métais git at videolan.org
Thu Jan 15 11:15:59 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jan 15 11:14:35 2015 +0100| [3588521d17135be2aaa26dade99455cd16f42299] | committer: Geoffrey Métais

Request initial focus on TimePicker

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=3588521d17135be2aaa26dade99455cd16f42299
---

 vlc-android/res/layout/jump_to_time.xml |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/vlc-android/res/layout/jump_to_time.xml b/vlc-android/res/layout/jump_to_time.xml
index 2e2b695..54035e6 100644
--- a/vlc-android/res/layout/jump_to_time.xml
+++ b/vlc-android/res/layout/jump_to_time.xml
@@ -109,7 +109,9 @@
                 android:inputType="number"
                 android:maxLength="2"
                 android:text="00"
-                android:focusable="true"/>
+                android:focusable="true">
+                    <requestFocus />
+            </EditText>
             <ImageView
                 android:id="@+id/jump_seconds_down"
                 android:layout_width="match_parent"



More information about the Android mailing list