Office Hours — Today, May 2

Monday, April 29

May 2
9:50 AM
Mark M.
has entered the room
9:55 AM
Mark M.
turned on guest access
captain_miao
has entered the room
Mark M.
hello, captain_miao!
how can I help you today?
captain_miao: do you have a question?
captain_miao
hi thank you
10:00 AM
captain_miao
no question~
Mark M.
OK
these chats are mostly for questions and answers
if you come up with a question, let me know
captain_miao
ok, i just see see. can I ask question about work?
Mark M.
if "work" involves Android application development, yes
10:05 AM
captain_miao
I develop movie ticket app. select the seat of ticket, maybe 100 seats or 1000 seats, I use TableLayout. I can't describe it
I send a image, wait a moment.
10:10 AM
captain_miao
View paste
the row: 4,5,6 etc... the column: 11,12,13 etc...
when move the table layout,the number do not move.
Mark M.
how do you "move the table layout"?
10:15 AM
captain_miao
touch screen left,right,up,down, lots of seats
Mark M.
TableLayout does not scroll. What are you doing that allows that TableLayout to move?
captain_miao
View paste (1 more line)
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
            android:orientation="vertical"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
        >
    <HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">
    <TableLayout
            android:id="@+id/cinema_tb_seats"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            >
    </TableLayout>
    </HorizontalScrollView>
...
Mark M.
I have no idea how you will handle your numbers
I suspect that you will need to create your own custom View for this
10:20 AM
captain_miao
don't use TableLayout? maybe a idea.
i think about it. thank you very much.
see you.
10:25 AM
captain_miao
has left the room
11:00 AM
Mark M.
turned off guest access

Monday, April 29

 

Office Hours

People in this transcript

  • captain_miao
  • Mark Murphy

Files in this transcript