1. Ed Crewe
  2. placeuvote

Commits

edc...@bitbucket.org  committed 37c5091

whoops opera fallback on advert is wrong color

  • Participants
  • Parent commits f2d793d
  • Branches default

Comments (0)

Files changed (3)

File android/placeUvote/res/layout/polllist.xml

View file
                 android:layout_height="fill_parent" 
                 android:padding="10px"> 
 <ScrollView android:layout_width="fill_parent" android:layout_height="wrap_content"> 
-<TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/tblJobs" 
+<TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/tblPolls" 
     android:layout_width="fill_parent" 
     android:layout_height="wrap_content" >
      <TableRow 
           android:layout_width="fill_parent" 
           android:layout_height="wrap_content"> 
-          <Button android:text="Title" android:id="@+id/btnTitle"/> 
-          <Button android:text="Employer" android:id="@+id/btnEmployer"/> 
+	<Spinner 
+		android:id="@+id/spnPolls" 
+		android:layout_width="250dp" 
+		android:layout_height="wrap_content" 
+		android:layout_centerHorizontal="true" 
+		android:layout_marginTop="2dp" 
+		android:layout_below="@+id/lblPoll" 
+	/> 
+
      </TableRow> 
 </TableLayout>
 </ScrollView>

File android/placeUvote/src/com/placeuvote/puvandroid/PollList.java

View file
     @Override
     public void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
-        setContentView(R.layout.puvlist);
-        tblPolls = (TableLayout) findViewById(R.id.tblJobs);
+        setContentView(R.layout.polllist);
+        tblPolls = (TableLayout) findViewById(R.id.tblPolls);
         btnQuestion = (Button) findViewById(R.id.txtQuestion);
         btnQuestion.setText("Question");
         btnQuestion.setOnClickListener(btnQuestionOnClick);
-        btnPoll = (Button) findViewById(R.id.spnPoll);
+        spnPoll = (Spinner) findViewById(R.id.spnPolls);
         btnPoll.setText("Poll");
-        btnPoll.setOnClickListener(btnPollOnClick);
+        spnPoll.setOnClickListener(spnPollOnClick);
 
         db = new PUVDatabase(this);
 

File gaepuv/puv/media/puv.css

View file
     width: 30%;
     float: right; 
     /* fallback (Opera) */
-    background: #00ff00;
+    background: #c9f5ce;
     /* Mozilla: */
     background: -moz-linear-gradient(left, #ffffff, #c9f5ce);
     /* Chrome, Safari:*/