Can someone tell me what an equivalent component is in an Android view, like a spreadsheet on an iPhone, for example?
How to implement a table view component, for example, on iPhone in android?
Give an example.
You can use table layout
TableLayout groups view rows and columns. An element is used to indicate a row in a table.
<?xml version="1.0" encoding="utf-8"?> <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="fill_parent" android:layout_width="fill_parent" android:background="#000044"> <TableRow> <TextView id="@+id/textName" android:text="Name:" android:textColor="#ffffff" /> <EditText id="@+id/editName" android:width="240px" /> </TableRow> <TableRow> <TextView id="@+id/textPasswd" android:text="Password:" android:textColor="#ffffff" /> <EditText id="@+id/editPasswd" android:password="true" /> </TableRow> <TableRow> <Button id="@+id/buttonSignIn" android:text="Sign In" /> </TableRow> </TableLayout>
See the links below for more information.
http://androiddevel.blogspot.com/2007/12/tablelayout-example.html
http://mobiforge.com/designing/story/understanding-user-interface-android-part-1-layouts
TableView iPhone ListView Android, .
GitHub uitableview Android: https://github.com/lorensiuswlt/android-uitableview
, .
Source: https://habr.com/ru/post/1772053/More articles:Where can I add link tags on a page that has a homepage? - c #Rails: link_to with: remote => true not working - ruby-on-railsAnalyzing source code in Java using Python? - javaHowto: C # string for full-text search in SQL query? - c #Can I find out if the file is in the user's browser cache? - javascriptะัะพัััะต Mdi Parent ะธ MdiChild Winforms? - c#Completing an if-else statement in content_tag for Rails - ruby-on-railsIs it possible to read text in a pdf file using perl? - perlIsEnabled for a container? - windows-phone-7Oracle: ัะบัะฟะพัั ัะพะปัะบะพ ัั ะตะผั - importAll Articles