54826

How to create a registration page with this design in android [closed]

Question:

I want to create a page like this<img alt="enter image description here" class="b-lazy" data-src="https://i.stack.imgur.com/XNxhI.png" data-original="https://i.stack.imgur.com/XNxhI.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" />

Please Help me

Answer1:

Take arrow as a seperate image and all others as textview and take backgroung for each text seperately

Answer2:

I think you should code like this

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal" android:weightSum="1" > <RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight=".33" > <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="#dddddd" android:text="SignUp" android:textAppearance="?android:attr/textAppearanceMedium" android:textColor="#000000" /> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/userheadimage" /> </RelativeLayout> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/arrow" /> <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight=".33" > <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="#dddddd" android:text="Email Address" android:textAppearance="?android:attr/textAppearanceMedium" /> </LinearLayout> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/arrow" /> <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight=".33" > <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="#dddddd" android:text="Complete" android:textAppearance="?android:attr/textAppearanceMedium" /> </LinearLayout>

Answer3:

I would suggest to implement a NonSwipeablePageViewer that will scroll programmatically when a page is done. When all fields are ready and when he clicks some button of your choosing. If you don't want handling with adapter, simple Tabs are enough. Although I like the implementation of FragmentPagerAdapter

Recommend

  • Custom Spinner TextView is being cut off
  • View disappears after setting height of gridLayout to wrap_content
  • MonoDroid - setting background color from colors.xml throws InvalidOperationException
  • TextView shadow not showing up in preview - although working on real device
  • Edittext requestFocus() dynamically not working
  • adMob | Extend Banner size?
  • Can't start a new project because of gradle error
  • Overlapping ImageView in RelativeView
  • Android custom dialog linearlayout size same as dialogs bg image
  • Android ripple for button not working
  • Android : Strike out Text with bold or thicker line than default STRIKE_THRU_TEXT_FLAG
  • Background image crashes android
  • Diagonal of polygon is inside or outside?
  • How to automatically pop-up keyboard?
  • Float Label hint (TextInputLayout) not works with Android Data Binding
  • Could be Text orientation of JTextArea changed by keyboard shortcut?
  • Android Custom dialog inflating from layout - alignment issue
  • EditText ignores the ImeActionLabel
  • Translate animation to correct position in Android
  • Complex Silverlight TreeView, is nested hierarchy possible?
  • Toolbar shifts up, when soft keyboard appears
  • Loop animation drawable
  • Multibinding Multiselection ListView
  • Netlink sockets and libnl - nl_recvmsgs_default returning -16 (EBUSY)
  • Gray line inside cardview :)?
  • Express JS Display Data By ID
  • Wrapping text in spinner android
  • Running jasmine tests for a component with NgZone dependency
  • How to resolve permission denied maybe missing internet permission?
  • Using MouseListener to select a range of cells in a grid
  • WPF Template Binding in ToggleButton UserControl
  • Access variable of ScriptContext using Nashorn JavaScript Engine (Java 8)
  • How Lists (specifically, RecyclerView with CardViews) in Android work
  • Code in Job's Script Block after Start-Process Does not Execute
  • Android - Material Design - NavigationView - How to put vertical scroll?
  • Warning: Can't call setState (or forceUpdate) on an unmounted component
  • bootstrap to use multiple ng-app
  • How to get icons for entities from eclipse?
  • Turn off referential integrity in Derby? is it possible?
  • JaxB to read class hierarchy