Help identify the layout used here?

I am working on a layout that contains some of the same features as in the screenshot below, but I came across some confusion. Can someone help me understand a few points for the screenshot below?

  • What is the root layout used here?
  • How to make the button bar stay at the bottom, and the center part scrolls when it is long enough?
  • Like the Ok / Cancel buttons that are visible here, how do I make them every 50% of the width (minus some indentation and padding)?

Android Market

+3
source share
2 answers

starting from the last ie

Buttons with a width of 50%:

  • Place both buttons in a different linear layout
  • Make layout linear = horizontal
  • make layout width = "fill parent"
  • width = "0px"
  • , layout_weight = "1.0"

?

  • = ""

  • = "wrap_content"

  • listView

  • ,

,

  • ListView

  • pf listView = "wrap_content"

  • layout_weight = "1.0" ListView

, , , .

+4

, .

, , ADT Eclipse. , IDE ( , , Eclipse).

+4

Source: https://habr.com/ru/post/1791340/


All Articles