How could I make such a UI? customized UI issue

by TreKing » Thu, 18 Mar 2010 05:21:21 GMT


Sponsored Links
 



Nope.



Maybe take a look at WebView.



For a dropdown you want a "Spinner".



Everyone else is always wrong =P

 Do you know where is the source code for browser?

Nope. I don't think the Android Browser is open source, AFAIK.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
 http://sites.google.com/site/rezmobileapps/treking 

--



Other Threads

1. lower EditText isn't panned to when opening the Virtual Keyboard

Hi.
I've made a tester to reproduce the issue:
this is my layout:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical"
    android:background="@drawable/flow_background">
    <ImageView android:layout_width="fill_parent"
        android:layout_height="wrap_content" android:src="@drawable/
header"
        android:scaleType="fitXY" />
    <TextView android:layout_width="fill_parent"
android:layout_height="wrap_content"
              android:paddingRight="5dp"
              style="@style/info_screens_title_text"
              android:id="@+id/title"/>
    <View android:layout_width="fill_parent"
                        android:layout_height="@dimen/
seperator_height"
                        android:background="@color/seperator_color" />
    <ScrollView android:layout_width="fill_parent"
                android:layout_height="0dp"
                android:layout_weight="1.0" >
                <LinearLayout android:layout_width="fill_parent"
                    android:layout_height="fill_parent"
                    android:orientation="vertical"
                    android:id="@+id/root">
                </LinearLayout>
    </ScrollView>
    <View android:layout_width="fill_parent"
                        android:layout_height="@dimen/
seperator_height"
                        android:background="@color/seperator_color" />
    <include layout="@layout/lower_button_compound"
                   android:id="@+id/booking_next_button" />
</LinearLayout>


under the scroll view root element (the LinearLayout) i add TextView
(sub title) and Linear Layout that contains 12 children all of which
are FrameLayout which is inflated from this xml:
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/
android"
            android:layout_width="fill_parent"
             android:layout_height="wrap_content"
             style="@style/round_rect_line_style" >
    <TextView android:layout_width="wrap_content"
              android:layout_height="fill_parent"
              style="@style/text_style_in_coupound.left"
              android:id="@+id/tv_lbl"/>
    <EditText android:layout_width="wrap_content"
              android:layout_height="fill_parent"
              style="@style/text_style_in_coupound.right.edit_text"
              android:id="@+id/edit_val"
              android:imeOptions="actionNext"
              android:maxLength="16"/>
</FrameLayout>

i programatically inflate the  previous layout and add it line after
line to create a single compound surrounded by round rectangle.

if i try to open the keyboard on item  6 when the screen is NOT
scrolled at all i get no panning on my layout! the virtual keyboard
opens up and my screen remains as is :-( as far as i know the screen
should pan to my field.
I checked with both resize and pan options of the windows options and
in both the field is totaly ignored, the screen remain as is.
Any idea of why this happens ? is it the scrollView ? i can't
rememmber reading about scrollView issues with IME...

Any help would be appreciated!

-- 

2. [WTA] Desire screen tearing

Suhu & suhi id-android,

 

Saya baru ngeroot desire pake unrevoked, sudah upgrade radio

32.49.00.32U_5.11.05.27 dan flash CM6.1 RC2 tapi jd ada screen tearing. Apa
ada yg pernah ngalamin? Gimana solusinya? Makasih.

 

 

regards,

Pugar Restu Julian (Uga)


 <http://twitter.com/thedyingsirens> twitter-64 (1)
<http://facebook.com/thedyingsirens> facebook-64 (1)
<http://myspace.com/thedyingsirens> icon_myspace (1)
<http://youtube.com/thedyingsirens> youtube-64 (1)

 <http://thedyingsirens.com/> http://thedyingsirens.com
"Loves Your Works and Works Your Side Jobs!"

Let's bike to work supaya hidup menjadi lebih bike! :)

 

 

 

-- 
===============
"

<<image001.png>>

<<image002.png>>

<<image003.png>>

<<image004.png>>

3. [WTA]wipe batterystats

4. Apa selanjutnya setelah update ke froyo

5. sdcard, external_sd

6. Cannot access SIM phonebook

7. Leather case