Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ScrollView
- android:id="@+id/scrollField"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_above="@+id/btnDELETE"
- android:layout_below="@+id/textTitle"
- android:layout_marginTop="10dp" >
- <LinearLayout
- android:id="@+id/linearLayoutRatingDetails"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical" >
- <TextView
- android:id="@+id/tv_EmployeeName"
- android:layout_width="wrap_content"
- android:layout_height="40dp"
- android:layout_marginTop="10dp"
- android:text="dfkyjrtl"
- android:textColor="#2E1F1F" />
- <TextView
- android:id="@+id/tv_TaskName"
- android:layout_width="wrap_content"
- android:layout_height="40dp"
- android:layout_marginTop="6dp"
- android:text="dfkyjrtl"
- android:textColor="#2E1F1F" />
- <TextView
- android:id="@+id/tv_TaskDate"
- android:layout_width="wrap_content"
- android:layout_height="40dp"
- android:layout_marginTop="6dp"
- android:text="dfkyjrtl"
- android:textColor="#2E1F1F" />
- <TextView
- android:id="@+id/tv_TaskRate"
- android:layout_width="wrap_content"
- android:layout_height="40dp"
- android:layout_marginTop="6dp"
- android:text="dfkyjrtl"
- android:textColor="#2E1F1F" />
- </LinearLayout>
- </ScrollView>
- Hare is my Activity code.
- tvEmpName.setText(str_IntentName);
- tvTaskName.setText(str_IntentTaskName);
- tvDate.setText(str_IntentDate);
- tvRate.setText(str_IntentRate);
- Create_RatingBar();
- private void Create_RatingBar()
- {
- stepSize = (float) 0.5;
- rating = new RatingBar(Task_Details.this);
- rating.setNumStars(numStar);
- rating.setStepSize(stepSize);
- LinearLayout.LayoutParams param = new LinearLayout.LayoutParams
- (LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
- param.topMargin = 500;
- rating.setLayoutParams(param);
- lL.addView(rating);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement