fixbug
This commit is contained in:
@@ -10,6 +10,7 @@ import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.view.WindowManager;
|
||||
import android.webkit.WebView;
|
||||
import android.webkit.WebViewClient;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import com.bumptech.glide.Glide;
|
||||
@@ -77,6 +78,7 @@ public class MainActivity extends SDBaseActivity {
|
||||
configView();
|
||||
// 应该是原来的保持屏幕常亮的代码
|
||||
getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
||||
order_view.setWebViewClient(new WebViewClient());
|
||||
order_view.loadUrl("https://www.baidu.com");
|
||||
//启动Service
|
||||
Intent socketService = new Intent(this, ClientService.class);
|
||||
|
||||
@@ -28,7 +28,8 @@
|
||||
android:id="@+id/order_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true" />
|
||||
android:layout_centerVertical="true" android:layout_alignParentStart="true"
|
||||
android:layout_marginStart="0dp"/>
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
android:id="@+id/venue_cell"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="52"
|
||||
android:text="这里弄个下拉框"
|
||||
android:textSize="20dp"
|
||||
android:textStyle="bold"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
BIN
app/src/main/res/mipmap-hdpi/venue_sport.png
Normal file
BIN
app/src/main/res/mipmap-hdpi/venue_sport.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
Reference in New Issue
Block a user