如何从我的代码中删除红框?它在设计/文本中找不到。蓝框的开始代码是:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/activity_login_user_email_edt"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="100dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:paddingLeft="35dp"
android:autoText="true"
android:hint="e-mail" />
答案 0 :(得分:0)
这是您的活动延伸的主题。您可以在styles.xml中更改它。然后,您需要在Manifest中更新此设置。
您需要将其添加到styles.xml:
<style name="Theme.AppCompat.Light.NoActionBar.FullScreen" parent="@style/Theme.AppCompat.Light">
<item name="windowNoTitle">true</item>
<item name="windowActionBar">false</item>
<item name="android:windowFullscreen">true</item>
<item name="android:windowContentOverlay">@null</item>
</style>
然后在AndroidManifest.xml中进行此活动:
<activity
android:name=".YourActivity"
android:label="@string/title_activity_main"
android:screenOrientation="landscape"
android:theme="@style/Theme.AppCompat.Light.NoActionBar.FullScreen">
</activity>
如果您从AppCompatActivity
延伸,那么上述内容将会起作用:
public class YourActivity extends AppCompatActivity{}
答案 1 :(得分:0)
答案天网发布是正确的,但这是编程方式
SELECT
DISTINCT HPD_HELP_DESK.Product_Name
FROM
HPD_HELP_DESK
WHERE REGEXP_LIKE(HPD_HELP_DESK.Product_Name, '^[A-Z]{2}[A-Z]? -')
ORDER BY HPD_HELP_DESK.Product_Name